package cards;

public class Card {
	
	private String[] suitList = {"Clubs", "Diamonds", "Hearts", "Spades"};
	private String[] rankList = {"narf", "Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King"};
	
	int suit, rank;

	public Card(int suit, int rank) {
		this.suit = suit;
		this.rank = rank;
	}
	
	public String getSuit() {
		return suitList[suit];		
	}

	public String getRank() {
		return rankList[rank];	
	}
	
	public int getRankValue() {
		return rank;
	}
	
	public String toString() {
		return this.getRank() + " of " + this.getSuit();
	}

}
